package com.huawei.appmarket.service.store.awk.node;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout.LayoutParams;
import com.huawei.appmarket.service.store.awk.card.AppZoneTraceEditCard;
import o.cgz;
import o.chy;
import o.cih;
import o.eir;
import o.ewm.h;

public class AppZoneTraceEditNode extends AppZoneAppTraceNode {
    private ViewGroup ˊ;

    public AppZoneTraceEditNode(Context context) {
        super(context);
    }

    public boolean ˊ(ViewGroup viewGroup, ViewGroup viewGroup2) {
        View inflate = LayoutInflater.from(this.ॱ).inflate(h.ᐝˊ, null);
        cih appZoneTraceEditCard = new AppZoneTraceEditCard(this.ॱ);
        appZoneTraceEditCard.ˏ(inflate);
        ˊ(appZoneTraceEditCard);
        viewGroup.addView(inflate, new LayoutParams(-1, -2));
        this.ˊ = viewGroup;
        return true;
    }

    public void ˋ(chy o_chy) {
        for (int i = 0; i < ˊॱ(); i++) {
            cgz ˊ = ˊ(i);
            View ˉ = ˊ.ˉ();
            if (ˉ != null) {
                ˉ.setOnClickListener(new eir(o_chy, ˊ, 5));
            }
        }
    }
}
